<?php
    session_start();
?>

<!DOCTYPE html>
<html>
    <head>
            <meta charset="utf-8" />
            <link rel="stylesheet" href="style.css" />
    </head>
    <body>
        <div class="d_body">
            <?php include('header.php'); ?>
            <?php include("language.php"); ?>
            <?php include("menuBar.php"); ?>
            
            <script language ="javascript"> 
               
                window.setTimeout("location=('home.php');",3000);
                
                var compte = 2;
                function dec()
                {       
                    document.getElementById("time").innerHTML = " " + compte + " <?php echo $home_second; ?>";
 
                    if(compte == 0 || compte < 0) 
                    {
                      compte = 0;
                      clearInterval(timer);
                    }
                    compte--;
               }
                
               var timer = setInterval('dec()',1000);

          </script>;
             
             <table class="t_error">
                 <tr><td class="td_error"><?php echo $error_unauthorizedAccess; ?><span id="time"> 3 <?php echo $home_second; ?></span></tr>
             </table>
      </div>
        <?php include('footer.php'); ?>
    </body>
</html>